package com.my.structuraltype.decorator;

public class ConcreteDecoratorB extends Decorator {

	public ConcreteDecoratorB(Component component) {
		super(component);
	}

	@Override
	public void doSomething() {
		super.doSomething();
		System.out.println("new function B");
	}

}
